<?php
class ORMpz_page {
  public function toObj($args) {
    $obj = new stdClass();
    if (isset($args->track_id)) {
      $obj->track_id =  $args->track_id;
    }
    if (isset($args->menu_id)) {
      $obj->menu_id =  $args->menu_id;
    }
    if (isset($args->html)) {
      $obj->html =  $args->html;
    }
    if (isset($args->css)) {
      $obj->css =  $args->css;
    }
    if (isset($args->js)) {
      $obj->js =  $args->js;
    }
    return $obj;
  }
}
?>
